package com.cnyz.service;

import com.cnyz.base.PageResponse;
import com.cnyz.dto.QuestionDto;
import com.cnyz.vo.QuestionVo;

import java.util.List;

public interface QuestionService {
public int addQuestion(QuestionDto questionDto);
public void addQuestions(List<QuestionDto> questionDtos);
public void updateQuestion(QuestionDto questionDto);
public PageResponse<QuestionVo> getQuestionPage(Integer pageNum,Integer pageSize,List<Long> questionsId,String subject,Integer type,String file);
}
